// DynArrayTestApp.cpp : Defines the entry point for the console application.
//

#include "dynarray.h"
#include <iostream>

using namespace::std;

int main()
{

	dynarray Test1;
	dynarray Test2;
	dynarray Test3;
	dynarray *Test4 = new dynarray(100);

	cout << Test1.empty() << endl;
	Test1.push_back(22);
	cout << Test1.empty() << endl << endl;
	Test1.push_back(30);
	Test1.push_back(30);
	Test1.push_back(30);
	Test1.push_back(30);
	Test2.push_back(80);
	Test2.push_back(80);
	Test2.push_back(80);
	Test2.push_back(80);
	Test2.push_back(80);
	Test2.push_back(80);
	Test2.insert(1 , 3);

	//Test3 += Test1;
	//Test3 += Test2;
	Test3 = Test2 + Test1 + Test2;
	//cout << Test1[0] << endl;
	//cout << Test2[0] << endl;
	for (int i = 0; i < Test3.size(); i++)
	{
		cout << Test3[i] << endl;
	}

	int i;

	cin >> i;
	return 0;
}